Add Team Members + Activity Log quick links to admin header#1423
Open
jonfroehlich wants to merge 1 commit into
Open
Add Team Members + Activity Log quick links to admin header#1423jonfroehlich wants to merge 1 commit into
jonfroehlich wants to merge 1 commit into
Conversation
Surfaces two easy-to-forget internal pages in the admin top-nav (userlinks): - Team Members -> /view-project-people/ (public project-team roster), which isn't linked from the main nav so it's easy to lose track of. - Activity Log -> the superuser-only LogEntry changelist (#1413), wrapped in {% if user.is_superuser %} to match the page's own gate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Two internal pages are easy to forget because neither is linked from the main site nav. This surfaces both in the admin top-nav (
userlinksblock ofbase_site.html):/view-project-people/— the public project-team roster (view_project_peopleview).LogEntrychangelist (Superuser: browse site-wide admin action log (all users, not just My actions) #1413), wrapped in{% if user.is_superuser %}so it only shows for superusers, matching the page's own gate.Screenshot
Admin header now reads: Team Members / Activity Log / GitHub / WELCOME, USER / … (Activity Log visible to superusers only).
UI change is a two-link addition to an existing header row; before/after is the presence of the two leading links.
Testing
/view-project-people/→ 200,admin:admin_logentry_changelist→ 302 (login).🤖 Generated with Claude Code